package com.heima.wemedia.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.model.common.dtos.PageResponseResult;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.wemedia.dtos.WmSensitiveDto;
import com.heima.model.wemedia.pojos.WmSensitive;

public interface WmSensitiveService extends IService<WmSensitive> {
    /**
     * 分页查询敏感词
     * @param wmSensitiveDto
     * @return
     */
    PageResponseResult listPage(WmSensitiveDto wmSensitiveDto);

    /**
     * 敏感词添加
     * @param wmSensitive
     * @return
     */

    ResponseResult add(WmSensitive wmSensitive);
}
